source devel/setup.bash

{
gnome-terminal -t "roscore" --tab -- bash -c "roscore"
}&

sleep 3s

{
gnome-terminal -t "publisher" --tab -- bash -c "rosrun publisher msg_publisher"
}&

{
gnome-terminal -t "subscriber" --tab -- bash -c "rosrun subscriber msg_subscriber"
}&


# system("gnome-terminal -x bach -c '将你的命令放在此处'");
# system("gnome-terminal --tab -- 'bach -c'&");